clear n_varieties
clear varieties_vec

export_categories = (1:264)';
% log_export_category_sizes = export_int + export_slope*log(export_categories);
% export_category_sizes = round(exp(log_export_category_sizes));
export_category_sizes = round(exp((export_slope*max((export_categories-single_variety_categories),1)/100)));

n_varieties = sum(export_category_sizes);
varieties_vec = [1:n_varieties]';

export_category_index_vec = [];
for i = 1:length(export_category_sizes)
    export_category_index_vec = [export_category_index_vec; i*ones(export_category_sizes(i),1)];
end
